package cn.edu.hnnu.c.rentacar.beans;

import java.io.Serializable;
import java.util.Date;

public class CheckRecord implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int checkRecordId;
	private Date checkDate;
	private String filed;
	private String problem;
	private int compensation;
	private int checkUserId;
	private int rentRecordId;

	public CheckRecord() {
		super();
	}

	public CheckRecord(int checkRecordId, Date checkDate, String filed,
			String problem, int compensation, int checkUserId, int rentRecordId) {
		super();
		this.checkRecordId = checkRecordId;
		this.checkDate = checkDate;
		this.filed = filed;
		this.problem = problem;
		this.compensation = compensation;
		this.checkUserId = checkUserId;
		this.rentRecordId = rentRecordId;
	}

	public int getCheckRecordId() {
		return checkRecordId;
	}

	public void setCheckRecordId(int checkRecordId) {
		this.checkRecordId = checkRecordId;
	}

	public Date getCheckDate() {
		return checkDate;
	}

	public void setCheckDate(Date checkDate) {
		this.checkDate = checkDate;
	}

	public String getFiled() {
		return filed;
	}

	public void setFiled(String filed) {
		this.filed = filed;
	}

	public String getProblem() {
		return problem;
	}

	public void setProblem(String problem) {
		this.problem = problem;
	}

	public int getCompensation() {
		return compensation;
	}

	public void setCompensation(int compensation) {
		this.compensation = compensation;
	}

	public int getCheckUserId() {
		return checkUserId;
	}

	public void setCheckUserId(int checkUserId) {
		this.checkUserId = checkUserId;
	}

	public int getRentRecordId() {
		return rentRecordId;
	}

	public void setRentRecordId(int rentRecordId) {
		this.rentRecordId = rentRecordId;
	}

	@Override
	public String toString() {
		return "checkTable [checkRecordId=" + checkRecordId + ", checkDate="
				+ checkDate + ", filed=" + filed + ", problem=" + problem
				+ ", compensation=" + compensation + ", checkUserId="
				+ checkUserId + ", rentRecordId=" + rentRecordId + "]";
	}

}
